package net.mysgame.czfun.module.user.data;


public class CzUser {
    private long id;

    private String name;

    private String password;

    private Byte role;

    private boolean sex;

    private String tel;

    private String email;

    public CzUser() {
    }

    public CzUser(long id, String name, String password, Byte role, boolean sex, String tel, String email) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.role = role;
        this.sex = sex;
        this.tel = tel;
        this.email = email;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Byte getRole() {
        return role;
    }

    public void setRole(Byte role) {
        this.role = role;
    }

    public boolean getSex() {
        return sex;
    }

    public void setSex(boolean sex) {
        this.sex = sex;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel == null ? null : tel.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }
}